import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import './assets/font.css'
Vue.use(ElementUI);
import SlideVerify from 'vue-monoplasty-slide-verify'
Vue.use(SlideVerify)
// 引入echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts //echarts
import VueParticles from 'vue-particles'  
Vue.use(VueParticles)  
// 定义axios
import axios from 'axios'
Vue.prototype.$http = axios;
axios.defaults.baseURL = "http://192.168.3.79:8821/bkjygl/";//79————招商推介活动管理系统
// 自定义指令
import http from "@/http-common";
Vue.prototype.$hattp = http;
const hlw = process.env.VUE_APP_ipAddresAs
Vue.prototype.$ipAddress = hlw;
const zdw=process.env.VUE_APP_ipAddress
Vue.prototype.$iapAaddress = zdw;
// 

// /高德地图
import AMap from 'vue-amap';
Vue.use(AMap);
AMap.initAMapApiLoader({
  key: 'a4ac89ca8a1f290e4d513d57ed862324',
  plugin: ['AMap.DistrictLayer', 'AMap.Scale',
    'AMap.PolygonEditor',
    'AMap.DistrictSearch',
    'AMap.OverView',
    'AMap.HeatMap',
    'AMap.ToolBar',
    'AMap.MouseTool',
    'AMap.MapType',
    'AMap.HawkEye',
    'AMap.MapType',
    'AMap.Weather',
    'AMap.PlaceSearch',
    'AMap.Geolocation',
    'AMap.Geocoder'],
  v: '1.4.4',
});
//
//
// 
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
